#include <dolphin/socket.h>
#define SO_PF_UNSPEC 0 // Unspecified
#define SO_PF_INET 2 // ARPA Internet protocols
typedef struct SOSockAddr
{
u8 len;
u8 family;
u8 data[6];
} SOSockAddr;
SOSockAddr is the generic data type used to represent socket
addresses. The len field should be set to sizeof(SOSockAddr)
whenever a socket function takes socket address structures as arguments.
Note: The GameCube socket functions do not take the length of the socket address structure via a function argument.